package com.geek.day01;

public class ArrayTest02 {
    public static void main(String[] args) {
        int[] score={15,9000,10000,20000,9500,-5};
        int max=score[0];
        for (int i = 0; i < score.length; i++) {
            if(score[i]>max){
                max=score[i];
            }
        }
        System.out.println(max);
    }
}
